package com.service;

import com.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "site",contextId = "recycleApiService")
public interface RecycleApiService {


    @GetMapping("findAllRecycleByPageAndRecyclerApproveState")
    Result findAllRecycleByPageAndRecyclerApproveState(@RequestParam String recyclerApproveState, @RequestParam Integer current, @RequestParam Integer pageSize);

    @PostMapping("setRecycleOfRecyclerApproveStateByRecycleId")
    Result setRecycleOfRecyclerApproveStateByRecycleId(@RequestParam String recyclerApproveState,@RequestParam Integer recycleId);
}
